package com.chcit.share.admin.controller;/**
 * <Description> <br>
 *
 * @author liuyang
 * @version 1.0
 * @createDate 2019/05/29 8:35
 * @see com.chcit.share.admin.controller
 */

import com.chcit.share.admin.core.http.HttpResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *@description:
 *@author: liuyang
 *@time: 2019/5/29 8:35
 *
 */
@RestController
@RequestMapping
public class TestController {

    @GetMapping(value="admin/wechats/users/login")
    public HttpResult findById() {
        return HttpResult.ok("访问成功");
    }

    @GetMapping(value="pds-ui/admin/wechats/users/login")
    public HttpResult test2() {
        return HttpResult.ok("test2");
    }

}
